//
// Created on 2024/9/9.
//
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".

#include "local_stream.h"

namespace ohosrtc {

LocalStream::LocalStream(webrtc::scoped_refptr<webrtc::MediaStreamInterface> media_stream) {
  media_stream_ = media_stream;
}

webrtc::scoped_refptr<webrtc::MediaStreamInterface> LocalStream::MediaStream() { return media_stream_; }

} // namespace ohos::rtc
